import { createApp } from "vue";
import App from "./App.vue";

// Vant组件库和它的css
// import Vant from "vant";
// import "vant/lib/index.css";

import {
  Tabbar,
  TabbarItem,
  Sidebar,
  SidebarItem,
  NavBar,
  Search,
  Swipe,
  SwipeItem,
  List,
  Card,
  Grid,
  GridItem,
} from "vant";
import "vant/lib/index.css";

import router from "./router";

import "@/assets/css/reset.less";
import "amfe-flexible";

createApp(App)
  .use(router)
  .use(Tabbar)
  .use(TabbarItem)
  .use(Sidebar)
  .use(SidebarItem)
  .use(NavBar)
  .use(Search)
  .use(Swipe)
  .use(SwipeItem)
  .use(List)
  .use(Card)
  .use(Grid)
  .use(GridItem)
  .mount("#app");
